var ScriptLoader = this.constructor;
var oldLoad = ScriptLoader.prototype.load;
var result = [];
ScriptLoader.prototype.load = function(){
  result.push(this.packageName.replace(/\.|$/g, "/") + this.name)
  oldLoad.apply(this,arguments);
}
function Export(){
	if(result.length){
		$log.error("只允许单次调用");
		throw new Error("can not call 'Export' twice!");
	}
	for(var i=0; i<arguments.length; i++) {
		$import(arguments[i]);
	}
	result.getContent = getContent;
	return result;
}
function getContent(){
	var content = [];
	for(var i = 0;i<this.length;i++){
		content[i] = $JSI.loadText($JSI.scriptBase + this[i]);
	}
	return content.join("\n");
}